echo "ptPowTo0"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowTo0_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowTo0_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowTo0_sortedByGainCostRatio

echo "ptPowToDot1"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowToDot1_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowToDot1_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowToDot1_sortedByGainCostRatio

echo "ptPowToDot3"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowToDot3_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowToDot3_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowToDot3_sortedByGainCostRatio

echo "ptPowToDot5"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowToDot5_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowToDot5_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowToDot5_sortedByGainCostRatio
exit

./irtk --local --query --query-mode=batch-bench --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/50PercentageIndex_UPP-5_ptPowToDot1_20140920 index:0.0 > max-score_50%_UPP-5_rawResults_testingQueries_ptPowToDot1_20141019 &
./irtk --local --query --query-mode=batch-bench --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/50PercentageIndex_UPP-5_ptPowToDot3_20140920 index:0.0 > max-score_50%_UPP-5_rawResults_testingQueries_ptPowToDot3_20141019 &

./irtk --local --query --query-mode=batch-bench --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/10PercentageIndex_UPP-5_ptPowToDot5_20140920 index:0.0 > max-score_10%_UPP-5_rawResults_testingQueries_ptPowToDot5_20141019 &
./irtk --local --query --query-mode=batch-bench --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/20PercentageIndex_UPP-5_ptPowToDot5_20140920 index > max-score_20%_UPP-5_rawResults_testingQueries_ptPowToDot5_20141019 &
./irtk --local --query --query-mode=batch-bench --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/30PercentageIndex_UPP-5_ptPowToDot5_20140920 index > max-score_30%_UPP-5_rawResults_testingQueries_ptPowToDot5_20141019 &
./irtk --local --query --query-mode=batch-bench --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/40PercentageIndex_UPP-5_ptPowToDot5_20140920 index > max-score_40%_UPP-5_rawResults_testingQueries_ptPowToDot5_20141019 &
# ./irtk --local --query --query-mode=batch-bench --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/50PercentageIndex_UPP-5_ptPowToDot5_20140920 index > max-score_50%_UPP-5_rawResults_testingQueries_ptPowToDot5_20141019 &
exit

./irtk --local --query --query-mode=batch --query-alg=max-score --result-format=tiering --config-options=temp_index_path=/home/vgc/wei/workspace/NYU_IRTK/polyIRToolkit_Wei/tonsOfIndexesMaking_20140920/50PercentageIndex_UPP-5_ptPowToDot5_20140920 index:0.0 > max-score_50%_UPP-5_rawResults_testingQueries_ptPowToDot5_20141019 &
exit

echo "ptPowTo0"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowTo0_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowTo0_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowTo0_sortedByGainCostRatio

echo "ptPowToDot1"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowToDot1_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowToDot1_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowToDot1_sortedByGainCostRatio

echo "ptPowToDot3"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowToDot3_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowToDot3_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowToDot3_sortedByGainCostRatio

echo "ptPowToDot5"
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_20%_gain_cost_ratio_20141015_ptPowToDot5_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_30%_gain_cost_ratio_20141015_ptPowToDot5_sortedByGainCostRatio
awk '{sum1+=$2;sum2+=$3;sum3+=$4;sum4+=$5} END {print sum1,sum2,sum3,sum4}' UPP-5_40%_gain_cost_ratio_20141015_ptPowToDot5_sortedByGainCostRatio
exit
